﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    [Serializable]
    public partial class Car_Maintain
    {
        public Car_Maintain()
        { }
        #region Model
        private int _id;
        private int _carid;
        private int _diverid;
        private string _mtremark;
        private string _mtopinion;
        private decimal _mtmoney;
        private DateTime _mttime;
        private bool _hasattachments = false;
        private int _state = 0;
        private int _instancestate;
        private string _approalusers;
        private int _nodecount;
        private int _userId;
        private int _mtGrade;
        private int _mtType;

        /// <summary>
        /// 维修编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌
        /// </summary>
        public int CarId
        {
            set { _carid = value; }
            get { return _carid; }
        }
        /// <summary>
        /// 驾驶员
        /// </summary>
        public int DiverId
        {
            set { _diverid = value; }
            get { return _diverid; }
        }
        /// <summary>
        /// 故障描述
        /// </summary>
        public string MtRemark
        {
            set { _mtremark = value; }
            get { return _mtremark; }
        }
        /// <summary>
        /// 维修情况
        /// </summary>
        public string MtOpinion
        {
            set { _mtopinion = value; }
            get { return _mtopinion; }
        }
        /// <summary>
        /// 维修金额
        /// </summary>
        public decimal MtMoney
        {
            set { _mtmoney = value; }
            get { return _mtmoney; }
        }
        /// <summary>
        /// 维修时间
        /// </summary>
        public DateTime MtTime
        {
            set { _mttime = value; }
            get { return _mttime; }
        }
        /// <summary>
        /// 维修方式
        /// </summary>
        public int MtType
        {
            get { return _mtType; }
            set { _mtType = value; }
        }
        /// <summary>
        /// 维修等级
        /// </summary>
        public int MtGrade
        {
            get { return _mtGrade; }
            set { _mtGrade = value; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 审核人
        /// </summary>
        public string ApproalUsers
        {
            set { _approalusers = value; }
            get { return _approalusers; }
        }
        /// <summary>
        /// 节点数
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }
        #endregion Model
    }
}
